<#assign base=request.contextPath>
<!DOCTYPE html> 
<html>
	<head>
		<title>${title}</title>
		<meta charset="utf-8">
		<#include "common/reference.ftl" />
		<#include "common/am.reference.ftl" />
	</head>
	<body class="${configs["skinName"]}">
		<div class="page-content">
			<div class="row">
			<#if viewMode !="view">
			<#include "common/breadcrumb.ftl">
			</#if>
				<form id="form" role="form" class="form-horizontal" method="post" action="${base}/${form_action}">
					<div class="col-xs-12">
						<div class="widget-box">
							<div class="widget-body">
								<input type="hidden" name="id" id="id" value="${model.id}" <#if viewMode == "view">disabled</#if>>
								<#if viewMode == "view">
								<div class="widget-header widget-header-flat">
									<h5 class="lighter">
										${module}
									</h5>
								</div>
								<#else>
								<div class="alert alert-warning">
									<strong>提示!</strong>
									<strong style="color:#dd514c;">出现红框</strong>的表示不能为空
								</div>
								</#if>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        公司标识
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="CompanyId" name="CompanyId" value="5201HDCX8779" class="form-control" required placeholder="请输入标题" disabled>
                                        <span class="lbl">公司标识 部统一分配</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        注册地行政区划代码
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="Address" name="Address" value="${model.getAddress()}" class="form-control" required placeholder="请输入注册地行政区划代码">
                                        <span class="lbl">注册地行政区划代码 驾驶员在平台的注册地</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        机动车驾驶员姓名
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="DriverName" name="DriverName" value="${model.getDriverName()}" class="form-control" placeholder="请输入机动车驾驶员姓名">
                                        <span class="lbl"></span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        驾驶员手机号
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="DriverPhone" name="DriverPhone" value="${model.getDriverPhone()}" class="form-control" required placeholder="请输入驾驶员手机号">
                                        <span class="lbl"></span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        驾驶员性别
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="DriverGender" name="DriverGender" value="${model.getDriverGender()}" class="form-control" required placeholder="请输入驾驶员性别">
                                        <span class="lbl"></span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        出生日期
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="DriverBirthday" name="DriverBirthday" value="${model.getDriverBirthday()}" class="form-control" required placeholder="请输入出生日期">
                                        <span class="lbl">出生日期 YYYYMMDD</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        国籍
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="DriverNationality" name="DriverNationality" value="${model.getDriverNationality()}" class="form-control"  placeholder="请输入国籍">
                                        <span class="lbl"></span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        驾驶员民族
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="DriverNation" name="DriverNation" value="${model.getDriverNation()}" class="form-control" required placeholder="请输入驾驶员民族">
                                        <span class="lbl">驾驶员民族 见JT/T 697.7-2014中4.1.2.1.7</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        驾驶员婚姻状态
                                    </label>
                                    <div class="col-sm-6">
                                        <select id="DriverMaritalStatus" name="DriverMaritalStatus" class="select-chosen form-control" required <#if viewMode == "view">disabled</#if> >
                                            <option value="">请选择驾驶员婚姻状态</option>
                                            <option value="已婚" <#if "未婚" == model.getDriverMaritalStatus()>selected="selected"</#if> >未婚</option>
                                            <option value="已婚" <#if "已婚" == model.getDriverMaritalStatus()>selected="selected"</#if> >已婚</option>
                                            <option value="离异" <#if "离异" == model.getDriverMaritalStatus()>selected="selected"</#if> >离异</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        驾驶员外语能力
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="DriverLanguageLevel" name="DriverLanguageLevel" value="${model.getDriverLanguageLevel()}" class="form-control"  placeholder="请输入驾驶员外语能力">
                                        <span class="lbl"></span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        驾驶员学历
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="DriverEducation" name="DriverEducation" value="${model.getDriverEducation()}" class="form-control"  placeholder="请输入驾驶员学历">
                                        <span class="lbl">驾驶员学历 见JT/T 697.7-2014中4.1.2.1.11</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        户口登记机关名称
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="DriverCensus" name="DriverCensus" value="${model.getDriverCensus()}" class="form-control"  placeholder="请输入户口登记机关名称">
                                        <span class="lbl"></span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        户口住址或长住地址
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="DriverAddress" name="DriverAddress" value="${model.getDriverAddress()}" class="form-control"  placeholder="请输入户口住址或长住地址">
                                        <span class="lbl"></span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        驾驶员通信地址
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="DriverContactAddress" name="DriverContactAddress" value="${model.getDriverContactAddress()}" class="form-control" required placeholder="请输入驾驶员通信地址">
                                        <span class="lbl"></span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        驾驶员照片文件编号
                                    </label>
                                    <div class="col-sm-6">
										<#if viewMode !="view">
										<input type="file" id="headImageFile" name="file" value="" class="form-control" data-input="headImageInput" data-image="headImagePreview">
                                        </#if>
                                        <input type="hidden" id="headImageInput" name="headImg" value="${model.headImg}"/>
                                        <img id="headImagePreview" alt="" src="<#if model.getPhotoId()?exists && model.getPhotoId()?length gt 0>${model.getPhotoId()}</#if>" height="60" style="display:<#if model.headImg?exists && model.headImg?length gt 0>block<#else>none</#if>" />
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        机动车驾驶证号
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="LicenseId" name="LicenseId" value="${model.getLicenseId()}" class="form-control" required placeholder="请输入机动车驾驶证号">
                                        <span class="lbl"></span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        机动车驾驶证扫描件文件编号
                                    </label>
                                    <div class="col-sm-6">
										<#if viewMode !="view">
										<input type="file" id="headImageFile" name="file" value="" class="form-control" data-input="headImageInput" data-image="headImagePreview">
                                        </#if>
                                        <input type="hidden" id="headImageInput" name="headImg" value="${model.headImg}"/>
                                        <img id="headImagePreview" alt="" src="<#if model.getLicensePhotoId()?exists && model.getLicensePhotoId()?length gt 0>${model.getLicensePhotoId()}</#if>" height="60" style="display:<#if model.headImg?exists && model.headImg?length gt 0>block<#else>none</#if>" />
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        准驾车型
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="DriverType" name="DriverType" value="${model.getDriverType()}" class="form-control" placeholder="请输入准驾车型">
                                        <span class="lbl">准驾车型 见JT/T 697.7-2014中5.16</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        初次领取驾驶证日期
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="GetDriverLicenseDate" name="GetDriverLicenseDate" value="${model.getGetDriverLicenseDate()}" class="form-control" required placeholder="请输入初次领取驾驶证日期">
                                        <span class="lbl">初次领取驾驶证日期 YYYYMMDD</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        驾驶证有效期限起
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="DriverLicenseOn" name="DriverLicenseOn" value="${model.getDriverLicenseOn()}" class="form-control" required placeholder="请输入驾驶证有效期限起">
                                        <span class="lbl">驾驶证有效期限起 YYYYMMDD</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        驾驶证有效期限止
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="DriverLicenseOff" name="DriverLicenseOff" value="${model.getDriverLicenseOff()}" class="form-control" required placeholder="请输入驾驶证有效期限止">
                                        <span class="lbl">驾驶证有效期限止 YYYYMMDD</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        是否巡游出租汽车驾驶员
                                    </label>
                                    <div class="col-sm-6">
                                        <select id="TaxiDriver" name="TaxiDriver" class="select-chosen form-control" required <#if viewMode == "view">disabled</#if> >
                                            <option value="">请选择是否巡游出租汽车驾驶员</option>
                                            <option value="1" <#if 1 == model.getTaxiDriver()>selected="selected"</#if> >是</option>
                                            <option value="0" <#if 2 == model.getTaxiDriver()>selected="selected"</#if> >否</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        网络预约出租汽车驾驶员资格证号
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="CertificateNo" name="CertificateNo" value="${model.getCertificateNo()}" class="form-control" required placeholder="请输入网络预约出租汽车驾驶员资格证号">
                                        <span class="lbl"></span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        网络预约出租汽车驾驶员证发证机构
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="NetworkCarIssueOrganization" name="NetworkCarIssueOrganization" value="${model.getNetworkCarIssueOrganization()}" class="form-control" required placeholder="请输入网络预约出租汽车驾驶员证发证机构">
                                        <span class="lbl"></span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        资格证发证日期
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="NetworkCarIssueDate" name="NetworkCarIssueDate" value="${model.getNetworkCarIssueDate()}" class="form-control" required placeholder="请输入网络预约出租汽车驾驶员证发证机构">
                                        <span class="lbl">资格证发证日期  YYYYMMDD</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        初次领取资格证日期
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="GetNetworkCarProofDate" name="GetNetworkCarProofDate" value="${model.getGetNetworkCarProofDate()}" class="form-control" required placeholder="请输入初次领取资格证日期">
                                        <span class="lbl">初次领取资格证日期  YYYYMMDD</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        资格证有效起始日期
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="NetworkCarProofOn" name="NetworkCarProofOn" value="${model.getNetworkCarProofOn()}" class="form-control" required placeholder="请输入资格证有效起始日期">
                                        <span class="lbl">资格证有效起始日期  YYYYMMDD</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        资格证有效截止日期
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="NetworkCarProofOff" name="NetworkCarProofOff" value="${model.getNetworkCarProofOff()}" class="form-control" required placeholder="请输入资格证有效截止日期">
                                        <span class="lbl">资格证有效截止日期  YYYYMMDD</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        报备日期
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="RegisterDate" name="RegisterDate" value="${model.getRegisterDate()}" class="form-control" required placeholder="请输入报备日期">
                                        <span class="lbl">报备日期  驾驶员信息向服务所在地出租汽车行政主管部门报备日期YYYYMMDD</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        是否专职驾驶员
                                    </label>
                                    <div class="col-sm-6">
                                        <select id="FullTimeDriver" name="FullTimeDriver" class="select-chosen form-control" required <#if viewMode == "view">disabled</#if> >
                                            <option value="">请选择是否专职驾驶员</option>
                                            <option value="1" <#if 1 == model.getFullTimeDriver()>selected="selected"</#if> >是</option>
                                            <option value="0" <#if 0 == model.getFullTimeDriver()>selected="selected"</#if> >否</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        是否在驾驶员黑名单内
                                    </label>
                                    <div class="col-sm-6">
                                        <select id="InDriverBlacklist" name="InDriverBlacklist" class="select-chosen form-control" required <#if viewMode == "view">disabled</#if> >
                                            <option value="">请选择是否在驾驶员黑名单内</option>
                                            <option value="1" <#if 1 == model.getInDriverBlacklist()>selected="selected"</#if> >是</option>
                                            <option value="0" <#if 0 == model.getInDriverBlacklist()>selected="selected"</#if> >否</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        服务类型
                                    </label>
                                    <div class="col-sm-6">
                                        <select id="CommercialType" name="CommercialType" class="select-chosen form-control" required <#if viewMode == "view">disabled</#if> >
                                            <option value="">请选择是否在驾驶员黑名单内</option>
                                            <option value="1" <#if 1 == model.getCommercialType()>selected="selected"</#if> >网络预约出租汽车</option>
                                            <option value="2" <#if 2 == model.getCommercialType()>selected="selected"</#if> >巡游出租汽车</option>
                                            <option value="3" <#if 3 == model.getCommercialType()>selected="selected"</#if> >私人小客车合乘</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        驾驶员合同（或协议）签署公司
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="ContractCompany" name="ContractCompany" value="${model.getContractCompany()}" class="form-control" required placeholder="请输入驾驶员合同（或协议）签署公司">
                                        <span class="lbl">驾驶员合同（或协议）签署公司 全称</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        合同（或协议）有效期起
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="ContractOn" name="ContractOn" value="${model.getContractOn()}" class="form-control" required placeholder="请输入合同（或协议）有效期起">
                                        <span class="lbl">合同（或协议）有效期起 YYYYMMDD</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        合同（或协议）有效期止
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="ContractOff" name="ContractOff" value="${model.getContractOff()}" class="form-control" required placeholder="请输入合同（或协议）有效期止">
                                        <span class="lbl">合同（或协议）有效期止 YYYYMMDD</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        紧急情况联系人
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="EmergencyContact" name="EmergencyContact" value="${model.getEmergencyContact()}" class="form-control"  placeholder="请输入紧急情况联系人">
                                        <span class="lbl"></span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        紧急情况联系人电话
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="EmergencyContactPhone" name="EmergencyContactPhone" value="${model.getEmergencyContactPhone()}" class="form-control"  placeholder="请输入紧急情况联系人电话">
                                        <span class="lbl">紧急情况联系人电话 手机号</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        紧急情况联系人通信地址
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="EmergencyContactAddress" name="EmergencyContactAddress" value="${model.getEmergencyContactAddress()}" class="form-control"  placeholder="请输入紧急情况联系人通信地址">
                                        <span class="lbl"></span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        状态
                                    </label>
                                    <div class="col-sm-6">
                                        <select id="State" name="State" class="select-chosen form-control" required <#if viewMode == "view">disabled</#if> >
                                            <option value="">请选择状态</option>
                                            <option value="0" <#if 0 == model.getState()>selected="selected"</#if> >有效</option>
                                            <option value="1" <#if 1 == model.getState()>selected="selected"</#if> >失效</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        操作标识
                                    </label>
                                    <div class="col-sm-6">
                                        <select id="Flag" name="Flag" class="select-chosen form-control" required <#if viewMode == "view">disabled</#if> >
                                            <option value="">请选择操作标识</option>
                                            <option value="1" <#if 1 == model.getFlag()>selected="selected"</#if> >新增</option>
                                            <option value="2" <#if 2 == model.getFlag()>selected="selected"</#if> >更新</option>
                                            <option value="3" <#if 3 == model.getFlag()>selected="selected"</#if> >删除</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        更新时间
                                    </label>
                                    <div class="col-sm-6">
                                        <input type="text" id="UpdateTime" name="UpdateTime" value="${model.getUpdateTime()}" class="form-control" required placeholder="请输入更新时间" disabled>
                                        <span class="lbl">更新时间 网约车平台完成数据更新的时间 YYYYMMDDhhmmss</span>
                                    </div>
                                </div>

								<#if viewMode != "view">
								<div class="clearfix form-actions">
									<div class="col-md-offset-3 col-md-9">
										<button id="btnSubmit" class="btn btn-info" type="submit">
											<i class="fa fa-check bigger-110"></i>
											提 交
										</button>
									</div>
								</div>
								</#if>
							</div>
						</div>
					</div>
				</form>
			</div>	
		</div>
		<script type="text/javascript">
		$(function(){
			$('.select-chosen').chosen();
			$('#form').validator();
		})
		</script>
	</body>
</html>